package com.crazyhat.crazyhat.attribute;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 社团成员职位枚举
 */
@Getter
@AllArgsConstructor
public enum ClubPositionEnum implements IEnum<String> {

    MEMBER("普通成员"),
    LEADER("一把手"),
    SECOND_LEADER("二把手"),
    NONE("非成员");
    

    @JsonValue
    private final String description;

    @Override
    public String getValue() {
        return this.description;
    }
}
